/*
 * Copyright © 2016 北京易酒批电子商务有限公司. All rights reserved.
 */
package com.cloud.alibaba.common.page;


import cn.hutool.http.HttpStatus;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;
@NoArgsConstructor
public class ListResult<T> extends BaseResult {
    /**
     * 返回数据列表
     */
    @Getter
    @Setter
    private List<T> list;


    public ListResult(List<T> list) {
        super(HttpStatus.HTTP_OK);
        this.setList(list);
    }

}
